#include <stdio.h>
int main() {
	char str[10] = {0};
	printf("%c %d %g\n", 'r',123,3.14f);
	sprintf(str,"%c %d %g",'r',123,3.14f);
	printf("%s\n",str);
	return 0;
}
